<template>
  <div class="app-main-container">
    <!-- <el-tabs v-model="activeTab">
      <el-tab-pane label="活动销售统计" name="0"><activitySales v-if="activeTab === '0'" :meta="meta" /></el-tab-pane>
      <el-tab-pane label="活动报名明细" name="1"><activityDetail v-if="meta.indexOf('ActivityDetail') > -1 && activeTab === '1'" :meta="meta" /></el-tab-pane>
    </el-tabs> -->
    <activityDetail :meta="meta" />
  </div>
</template>

<script>
import activityDetail from './activityDetail'
// import activitySales from './activitySales'
export default {
  name: 'ActivityStatistics',
  components: {
    // activitySales,
    activityDetail
  },
  data() {
    return {
      activeTab: '0',
      meta: []
    }
  },
  created() {
    const meta = this.$route.meta.buttons || []
    this.meta = meta
  },
  // activated() {
  //   if (this.$route.query.refresh) {
  //     this.$refs.taskAdminRef.handleQuery()
  //   }
  //   if (this.$route.query.activeTab) {
  //     this.activeTab = this.$route.query.activeTab
  //   }
  // },
  methods: {

  }

}
</script>

<style lang="scss" scoped>

</style>
